Remove deprecated/ broken types from the default value test
authorChristian Dywan <christian@twotoasts.de>
Wed, 7 Oct 2009 16:10:06 +0000 (18:10 +0200)
committerJavier Jardón <jjardon@gnome.org>
Sun, 2 May 2010 23:40:40 +0000 (01:40 +0200)
gtk/tests/defaultvalue.c

index 5253884b9823a59d9dfec4178f42a15d0ab2a279..dca1ccd0e2562137dfe31a99e31a8648ad502243 100644 (file)
@@ -81,13 +81,6 @@ test_type (gconstpointer data)
       g_type_is_a (type, gdk_pixbuf_simple_anim_iter_get_type ()))
     return;
 
-  /* The gtk_arg compat wrappers can't set up default values */
-  if (g_type_is_a (type, GTK_TYPE_CLIST) ||
-      g_type_is_a (type, GTK_TYPE_CTREE) ||
-      g_type_is_a (type, GTK_TYPE_LIST) ||
-      g_type_is_a (type, GTK_TYPE_TIPS_QUERY)) 
-    return;
-
   klass = g_type_class_ref (type);
   
   if (g_type_is_a (type, GTK_TYPE_SETTINGS))
@@ -177,11 +170,6 @@ test_type (gconstpointer data)
            strcmp (pspec->name, "buffer") == 0))
        continue;
 
-      /* Gets set to the cwd */
-      if (g_type_is_a (type, GTK_TYPE_FILE_SELECTION) &&
-         strcmp (pspec->name, "filename") == 0)
-       continue;
-
       if (g_type_is_a (type, GTK_TYPE_FONT_SELECTION) &&
          strcmp (pspec->name, "font") == 0)
        continue;
@@ -269,11 +257,6 @@ test_type (gconstpointer data)
           strcmp (pspec->name, "font-desc") == 0))
         continue;
 
-      if (g_type_is_a (type, GTK_TYPE_TEXT) &&
-         (strcmp (pspec->name, "hadjustment") == 0 ||
-           strcmp (pspec->name, "vadjustment") == 0))
-        continue;
-
       if (g_type_is_a (type, GTK_TYPE_TEXT_VIEW) &&
           strcmp (pspec->name, "buffer") == 0)
         continue;